/*******************************************************************************
  * @file                   usart.h
  * @Author:                MQjehovah                 mail:MQjehovah@hotmail.com
  * @version                1.0.0
  * @date                   2017-12-22 10:25:23
  * @brief                  
  ******************************************************************************
  * @attention
*******************************************************************************/
#ifndef __USART_H
#define __USART_H
/* Includes ------------------------------------------------------------------*/
#include "BSP.h"
/* Definition ----------------------------------------------------------------*/
#define USART_DEBUG USART2
/* Exported Functions --------------------------------------------------------*/
void USART_Config(USART_TypeDef *USARTx, u32 Buand);
void USART_SendChar(USART_TypeDef *USARTx, char c);
void USART_SendStr(USART_TypeDef *USARTx, char *senddata);
void printNumber(USART_TypeDef *USARTx, unsigned long n, u8 base);
#endif
/*********************************END OF FILE**********************************/
